package com.chenbei.erp.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "仓位产品")
@Data
public class StorageLocationProductVo {

    @Schema(description = "产品ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long productId;

    @Schema(description = "总数")
    private Integer number;

    @Schema(description = "成本单价/元")
    private BigDecimal unitCost;
}
